/**
 * Apr 24, 2010
 */
package org.tomale.id.projects;

import java.util.List;

import org.tomale.id.ProviderException;

/**
 * @author ferd
 *
 */
public interface IProjectProvider {

	public Project getProject(final int id) throws ProviderException;
	
	public List<Project> getProjects() throws ProviderException;

	public void addPredefinedTask(PredefinedTask task) throws ProviderException;
	
	public PredefinedTask getPredefinedTask(final int id) throws ProviderException;
	
	public List<PredefinedTask> getPredefinedTasks() throws ProviderException;
	
	public Task getTask(final int id) throws ProviderException;
	
	public List<Task> getTasks() throws ProviderException;
}
